package com.hujiheng.paike.view;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TeacherView {
    private int teacherId;
    @NotBlank(message = "姓名不能为空")
    private String teacherName;
    @NotBlank(message = "课程名称不能为空")
    private String courseName;
}
